//
//  UINavigationController+UATNavigator.h
//  UStarter
//
//  Created by Mark on 2021/1/8.
//

#import <UIKit/UIKit.h>
#import "UatUtil.h"
NS_ASSUME_NONNULL_BEGIN

@interface UINavigationController (UATNavigator)


/// 根据类名进行跳转
/// @param vc 下个页面的类名
/// @param paramStr 参数字符串，key会作为vc的公共属性名，进行赋值，然后跳转
/// @param animated 是否动画
- (void) pushViewController:(NSString*)vc paramStr:(nullable NSString*)paramStr animated:(BOOL)animated ;



/// 重置路由
/// @param vc 目标根路由
/// @param animated 动画
- (void) resetViewController:(UIViewController*)vc animated:(BOOL)animated ;


@end

NS_ASSUME_NONNULL_END
